home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Tools & Goodies / IntlTest / Sources / Part.r < prev    next >
Encoding:
Text File  |  1996-04-23  |  3.7 KB  |  191 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Part.r
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #define SystemSevenOrBetter 1            // we want the extended types
  11. #define    SystemSevenOrLater    1            // Types.r uses this variable
  12.  
  13. #include "Types.r"
  14. #include "SysTypes.r"
  15. #include "CodeFragmentTypes.r"
  16.  
  17. #ifndef __ODTYPES_R__
  18. #include "ODTypes.r"
  19. #endif
  20.  
  21. #ifndef DEFINES_K
  22. #include "Defines.k"
  23. #endif
  24.  
  25. #ifndef BINDING_K
  26. #include "Binding.k"
  27. #endif
  28.  
  29. //-------------------------------------------------------------------------------------
  30. // .rsrc resources
  31. //-------------------------------------------------------------------------------------
  32.  
  33. include "MacIcons.rsrc" not 'ckid';
  34. include "MacVers.rsrc" not 'ckid';
  35.  
  36. //-------------------------------------------------------------------------------------
  37. // Code Fragment Resource
  38. //-------------------------------------------------------------------------------------
  39.  
  40. resource 'cfrg' (0) {
  41.     {    /* array memberArray: 2 elements */
  42.         /* [1] */
  43. #ifdef FW_BUILD_MAC68K
  44.         kMotorola,
  45. #else
  46.         kPowerPC,
  47. #endif
  48.         kFullLib,
  49.         kNoVersionNum,
  50.         kNoVersionNum,
  51.         kDefaultStackSize,
  52.         kNoAppSubFolder,
  53.         kIsLib,
  54.         kOnDiskFlat,
  55.         kZeroOffset,
  56.         kWholeFork,
  57.         kODFIntlTestEditor,
  58.         /* [2] */
  59. #ifdef FW_BUILD_MAC68K
  60.         kMotorola,
  61. #else
  62.         kPowerPC,
  63. #endif
  64.         kFullLib,
  65.         kNoVersionNum,
  66.         kNoVersionNum,
  67.         kDefaultStackSize,
  68.         kNoAppSubFolder,
  69.         kIsLib,
  70.         kOnDiskFlat,
  71.         kZeroOffset,
  72.         kWholeFork,
  73.         "ODFIntlTest"
  74.     }
  75. };
  76.  
  77. //-------------------------------------------------------------------------------------
  78. // NMAP Resources
  79. //-------------------------------------------------------------------------------------
  80.  
  81. resource kODNameMappings (kKindCategoryMapId) {
  82.     kODKind,
  83.     {    /* array Types: 1 elements */
  84.         /* [1] */
  85.         kODFIntlTestKind,
  86.         kODIsAnISOStringList
  87.         {
  88.             {    /* array ClassIDs: 1 elements */
  89.                 /* [1] */
  90.                 kODCategoryPlainText
  91.             }
  92.         }
  93.     }
  94. };
  95.  
  96. resource kODNameMappings (kEditorKindMapId) {
  97.     kODEditorKinds,
  98.     {    /* array Types: 1 elements */
  99.         /* [1] */
  100.         kODFIntlTestEditor,
  101.         kODIsAnISOStringList
  102.         {
  103.             {    /* array ClassIDs: 1 elements */
  104.                 /* [1] */
  105.                 kODFIntlTestKind
  106.             }
  107.         }
  108.     }
  109. };
  110.  
  111. resource kODNameMappings (kEditorUserStringMapId) {
  112.     kODEditorUserString,
  113.     {    /* array Types: 1 elements */
  114.         /* [1] */
  115.         kODFIntlTestEditor,
  116.         kODIsINTLText
  117.         {
  118.             smRoman,
  119.             langEnglish,
  120.             kODFIntlTestEditorUserString
  121.         }
  122.     }
  123. };
  124.  
  125. resource kODNameMappings (kKindUserStringMapId) {
  126.     kODKindUserString,
  127.     {    /* array Types: 1 elements */
  128.         /* [1] */
  129.         kODFIntlTestKind,
  130.         kODIsINTLText
  131.         {
  132.             smRoman,
  133.             langEnglish,
  134.             kODFIntlTestKindUserString
  135.         }
  136.     }
  137. };
  138.  
  139. resource kODNameMappings (kCategoryUserStringMapId) {
  140.     kODCategoryUserString,
  141.     {    /* array Types: 1 elements */
  142.         /* [1] */
  143.         kODCategoryPlainText,
  144.         kODIsINTLText
  145.         {
  146.             smRoman,
  147.             langEnglish,
  148.             kODFIntlTestCategoryUserString
  149.         }
  150.     }
  151. };
  152.  
  153. resource kODNameMappings (kOldMacOSTypeMapId) {
  154.     kODKindOldMacOSType,
  155.     {    /* array KeyList: 1 elements */
  156.         /* [1] */
  157.         kODFIntlTestKind,
  158.         kODIsMacOSType {
  159.             kODFIntlTestOSType
  160.         }
  161.     }
  162. };
  163.  
  164. resource kODNameMappings (kEditorPlatformKinds) {
  165.     kODEditorPlatformKind,
  166.     {    /* array KeyList: 1 elements */
  167.         /* [1] */
  168.         kODFIntlTestEditor,
  169.         kODIsPltfmTypeSpac {
  170.             /* array PltfmTypeSpacList: 2 elements */
  171.             {
  172.                 /* [1] */
  173.                 kODPlatformFileType, 
  174.                 kTEXTOSType, 
  175.                 smRoman, 
  176.                 langEnglish, 
  177.                 kDragKindUserString1, 
  178.                 kODCategoryPlainText,
  179.                 /* [2] */
  180.                 kODPlatformDataType, 
  181.                 kTEXTOSType, 
  182.                 smRoman, 
  183.                 langEnglish, 
  184.                 kDragKindUserString2, 
  185.                 kODCategoryPlainText
  186.             }
  187.         }
  188.     }
  189. };
  190.  
  191.